<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>10_模块化</title>
</head>

<body>
    <!-- <script type="module">
        // import * as m1 from './m1.js'
        // console.log(m1)
        // import * as m2 from './m2.js'
        // console.log(m2)
        // import * as m3 from './m3.js'
        // console.log(m3)

        //2.解构赋值进行引入
        import { school, teach } from './m1.js'
        import { school as guigu, findJob } from './m2.js'
        import { default as m3 } from './m3.js'
        console.log(school, teach, guigu, findJob, m3)

        //3.便形式
        import m33 from './m3.js'
        console.log(m33)
    </script> -->
    <script src="./js/app.js" type="module"></script>
</body>

</html>